function releasedInfo(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "userVehicles.jsp");
}

function releasedRent(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "userVehicles.jsp");	
}

function beVip(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "becomeVip.jsp");	
}

function releasedFix(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "userfixs.jsp");	
}
function modifyInfo(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "modifyUserInfo.jsp");
}

function shangjia(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$.ajax({
		type: "get",
		dataType: "text",
		url: "../au.do?action=6&userName="+u,
		success: function(v){
			if(v == "1"){
				layer.alert("亲美美，你已经申请了成为商家，请耐心等待~~~");
			}else{
				$("#iframe").attr("src", "becomeSeller.jsp");
			}
		}
	});
	
	
}
function modifyPass(){
	var u = $.cookie("youleche.u");
	if(u == null){
		window.parent.location.href="../noresponse.jsp";
		return;
	}
	
	$("#iframe").attr("src", "modifypass.jsp");
}